class Student:
    def __init__(self,age,name,sex,height):
        self.name = name
        self.age=age
        self.sex=sex
        self.height=height

    def __str__(self):
        return f'学生的姓名是{self.name},年龄是{self.age},身高是{self.height}'



        # print('初始化的值')

student1 =Student('18','张三','女','183')
print(student1)